package com.wawayaya.api;


import org.json.JSONArray;
import org.json.JSONObject;

import java.io.Serializable;

/**
 * Created by creative on 15/7/4.
 */
public class ApiResponseData implements Serializable{

    private  long      uid;
    private  Integer     flag;
    private  String      message;
    private  JSONObject  retinfo;
    private  Integer     rquestType;
    private  JSONArray   updateAry;
    private  JSONArray   deleteAry;
    private   String    serverTimestamp;


    public long getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    private  Integer    daType;      //update   delete

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public JSONObject getRetinfo() {
        return retinfo;
    }

    public void setRetinfo(JSONObject retinfo) {
        this.retinfo = retinfo;
    }

    public Integer getRquestType() {
        return rquestType;
    }

    public void setRquestType(Integer rquestType) {
        this.rquestType = rquestType;
    }

    public Integer getDaType() {
        return daType;
    }

    public void setDaType(Integer daType) {
        this.daType = daType;
    }

    public JSONArray getUpdateAry() {
        return updateAry;
    }

    public void setUpdateAry(JSONArray updateAry) {
        this.updateAry = updateAry;
    }

    public JSONArray getDeleteAry() {
        return deleteAry;
    }

    public void setDeleteAry(JSONArray deleteAry) {
        this.deleteAry = deleteAry;
    }

    public String getServerTimestamp() {
        return serverTimestamp;
    }

    public void setServerTimestamp(String serverTimestamp) {
        this.serverTimestamp = serverTimestamp;
    }
}
